<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<style type="text/css">
.layer{
	width:600px;
 	padding: 5px;
 	border-left:1px solid gray;
 	border-right:1px solid gray;
 	border-bottom:1px solid gray;
 	
}
#title{
font-weight: bold;
border-top:1px solid gray;
}
#info{
font-size: 13px;
}
#content{
min-height:300px; 
height:auto;
}
</style>

<div id="title" class="layer">
${requestScope.qnaBoard.code }.${requestScope.qnaBoard.title }
</div>
<div id="info" class="layer">
작성자 : ${requestScope.qnaBoard.name } | 조회수 : ${ requestScope.qnaBoard.hit} | 작성일시 : ${requestScope.qnaBoard.insertDate}
</div>
<div id="content" class="layer">
${requestScope.qnaBoard.contents }
</div>
<div style="margin-top: 30px">
	<a href="/${initParam.rootPath }/qna/modify_form.do?code=${requestScope.qnaBoard.code}&page=${param.page}">수정</a> |
	<a href="/${initParam.rootPath }/qna/deleteContent.do?code=${requestScope.qnaBoard.code}&page=${param.page}">삭제</a> |
	<a href="/${initParam.rootPath }/qna/replyForm.do?code=${requestScope.qnaBoard.code}&page=${param.page}">답글</a> |
	<a href="/${initParam.rootPath }/qna/list.do?page=${param.page}">목록</a> |
</div>

























